export default {
    namespaced: true, //单独的模块，不会合并到主模块去
    state:{
        token:'',
        name: 'hhh'
    },
    mutations: {
        setToken(state,token) {
            state.token = token
        },
        setName(state, name){
            state.name = name
        }
    },
    actions: {
        //登录请求动作
        login(context,userInfo) {
        }
    }
}

